package tsb.com.html5.user.dao;

import java.util.List;

import tsb.com.html5.base.BaseDao;
import tsb.com.html5.user.item.UserItem;
import tsb.com.html5.user.param.GetUserParam;

public class UserInfoDao extends BaseDao implements IUserInfoDao {

	public UserInfoDao() {
		super();
	}

	public List<UserItem> selectUserInfo(GetUserParam parm) throws Exception {
		List<UserItem> userObjList = null;
		try {
			userObjList = (List<UserItem>) getSqlMapClientTemplate().queryForList(
					"UserInfoMap.selectUser", parm);
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}
		return userObjList;
	}

}
